<fieldset>
    <legend>수입/지출 입력폼</legend>
    <p>
        <label for="type">구분</label>
        <input type="radio" id="type_input" name="type" value="I" />수입
        <input type="radio" id="type_output" name="type" value="O" />지출
    </p>
    <p>
        <label for="contents">내용</label>
        <input type="text" id="contents" name="content" class="required" />
    </p>
    <p>
        <label for="amount">금액</label>
        <input type="text" id="amount" name="amount" class="required" />
    </p>
    <p>
        <label for="settlement_type">결제수단</label>
        <select id="settlement_type" name="settlement_type">
            <option value="credit_card" selected>신용카드</option>
            <option value="check_card">체크카드</option>
            <option value="cash">현금</option>
        </select>
    </p>
    <p>
        <label for="note">비고</label>
        <input type="text" id="note" name="note" />
    </p>
</fieldset>